package com.lu.User;

public class User {
    private int id;
    private String uname;
    private String sex;
    private String number;
    private String sclass;
    private String question;
    private String answer;
    private String answerteacher;
    private String datetime;

    public User(int id ,String sex, String uname, String number, String sclass, String question, String answer,String answerteacher, String datetime) {
        this.id = id;
        this.uname = uname;
        this.sex = sex;
        this.number = number;
        this.sclass = sclass;
        this.question = question;
        this.answer = answer;
        this.datetime = datetime;
        this.answerteacher=answerteacher;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }


    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getSclass() {
        return sclass;
    }

    public void setSclass(String sclass) {
        this.sclass = sclass;
    }

    public String getQuestion() {
        return question;
    }

    public void setQuestion(String question) {
        this.question = question;
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    public String getDatetime() {
        return datetime;
    }

    public void setDatetime(String datetime) {
        this.datetime = datetime;
    }

    public String getAnswerteacher() {
        return answerteacher;
    }

    public void setAnswerteacher(String answerteacher) {
        this.answerteacher = answerteacher;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", uname='" + uname + '\'' +
                ", sex='" + sex + '\'' +
                ", number='" + number + '\'' +
                ", sclass='" + sclass + '\'' +
                ", question='" + question + '\'' +
                ", answer='" + answer + '\'' +
                ", answerteacher='" + answerteacher + '\'' +
                ", datetime='" + datetime + '\'' +
                "测试"+
                '}';
    }
}
